package com.meritdata.cloud.data.standard.desensitization.entity; /***********************************************************************
 * Module:  TD_DATAMASK_RULE.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_DATAMASK_RULE
 ***********************************************************************/

import javax.persistence.*;
import java.util.*;

/** 脱敏规则表 */
@Entity
@Table(name="TD_DATAMASK_RULE")
public class TdDatamaskRule {
//	private static final long ROOT_ID = 0L;
	/** ID:ID */
	@Id
	@GeneratedValue
	private Long id;
	/** 脱敏名称:NAME */
	@Column(name="NAME")
	private String name;
	/**
	 * 内置类型编码，自定义
	 *
	 * 脱敏类型:TYPE
	 */
	@Column(name="TYPE")
	private String type;
	/**
	 * json结构，为自定义的脱敏属性集合
	 *
	 * 脱敏规则配置:CONFIG
	 */
	@Column(name="CONFIG")
	private String config;
	/**
	 * 0:禁用,1:启用
	 *
	 * 启用状态:ENABLE
	 */
	@Column(name="ENABLE")
	private int enable;
	/** 示例内容:EXAMPLE */
	@Column(name="EXAMPLE")
	private String example;
	/** 备注:DESCRIPTION */
	@Column(name="DESCRIPTION")
	private String description;
	/** 创建时间:CREATE_TIME */
	@Column(name="CREATE_TIME")
	private Date createTime;
	/** 修改时间:UPDATE_TIME */
	@Column(name="UPDATE_TIME")
	private Date updateTime;
	/** 创建人ID:CREATOR */
	@Column(name="CREATOR")
	private long creator;
	/** 修改人ID:REVISER_ID */
	@Column(name="REVISER_ID")
	private long reviserId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getConfig() {
		return config;
	}
	public void setConfig(String config) {
		this.config = config;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public String getExample() {
		return example;
	}
	public void setExample(String example) {
		this.example = example;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public long getCreator() {
		return creator;
	}
	public void setCreator(long creator) {
		this.creator = creator;
	}
	public long getReviserId() {
		return reviserId;
	}
	public void setReviserId(long reviserId) {
		this.reviserId = reviserId;
	}




}